import { IsNotEmpty } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class WechatInfoDTO {
  //   readonly iv: string;

  //   readonly encryptedData: string;

  @ApiProperty({
    description: 'code',
    default: '0d3uE3200bZMuT1B4N100nDA8L1uE32T',
  })
  @IsNotEmpty({ message: 'code不能为空' })
  readonly code: string;
}
